import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';

@Component({
	selector: 'app-index',
	templateUrl: './index.component.html',
	styleUrls: ['./index.component.less']
})
export class CargoStorageIndexComponent implements OnInit {

	areaId: any;

	constructor(private activatedRoute: ActivatedRoute) {
		this.activatedRoute.params.subscribe(param => {
			console.log(param);
			this.areaId = param['areaId'] ? param['areaId'] : null;
		});
	}

	ngOnInit(): void {
	}

}
